package com.revenant.driver.bean.Driver;

import java.util.List;

/**
 * @ProjectName: Driver
 * @Package: com.revenant.driver.bean.Driver
 * @ClassName: ZhiPaiBean
 * @Description: java类作用描述
 * @Author: Revenant
 * @CreateDate: 2020-02-07 19:16
 * @UpdateUser: 更新者
 * @UpdateDate: 2020-02-07 19:16
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
public class ZhiPaiBean {


    /**
     * code : 0
     * msg : SUCCESS
     * sign : null
     * timestamp : 0
     * data : {"total":3,"result":[{"code":"0","msg":"SUCCESS","sign":null,"timestamp":0,"data":null,"id":5,"driverId":2,"goodsId":16,"vehicleLeader":"普通货车| 4.6米 | 煤炭及制品","weight":100,"createTime":"2020-01-17 09:20:42","companyName":"王*丽","isAuto":false,"isOnline":"00:00:01","total":8,"loading":"辽宁 鞍山","unloading":"辽宁 本溪"},{"code":"0","msg":"SUCCESS","sign":null,"timestamp":0,"data":null,"id":6,"driverId":2,"goodsId":17,"vehicleLeader":"普通货车| 4.6米 | 煤炭及制品","weight":100,"createTime":"2020-01-17 09:23:31","companyName":"王*丽","isAuto":false,"isOnline":"00:00:01","total":8,"loading":"辽宁 鞍山","unloading":"辽宁 本溪"},{"code":"0","msg":"SUCCESS","sign":null,"timestamp":0,"data":null,"id":7,"driverId":2,"goodsId":18,"vehicleLeader":"普通货车| 4.6米 | 煤炭及制品","weight":100,"createTime":"2020-01-17 09:25:56","companyName":"王*丽","isAuto":false,"isOnline":"00:00:01","total":8,"loading":"辽宁 鞍山","unloading":"辽宁 本溪"}],"pageNum":1,"pageSize":10,"pages":1,"size":3}
     */

    private String code;
    private String   msg;
    private Object   sign;
    private int      timestamp;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getSign() {
        return sign;
    }

    public void setSign(Object sign) {
        this.sign = sign;
    }

    public int getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(int timestamp) {
        this.timestamp = timestamp;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * total : 3
         * result : [{"code":"0","msg":"SUCCESS","sign":null,"timestamp":0,"data":null,"id":5,"driverId":2,"goodsId":16,"vehicleLeader":"普通货车| 4.6米 | 煤炭及制品","weight":100,"createTime":"2020-01-17 09:20:42","companyName":"王*丽","isAuto":false,"isOnline":"00:00:01","total":8,"loading":"辽宁 鞍山","unloading":"辽宁 本溪"},{"code":"0","msg":"SUCCESS","sign":null,"timestamp":0,"data":null,"id":6,"driverId":2,"goodsId":17,"vehicleLeader":"普通货车| 4.6米 | 煤炭及制品","weight":100,"createTime":"2020-01-17 09:23:31","companyName":"王*丽","isAuto":false,"isOnline":"00:00:01","total":8,"loading":"辽宁 鞍山","unloading":"辽宁 本溪"},{"code":"0","msg":"SUCCESS","sign":null,"timestamp":0,"data":null,"id":7,"driverId":2,"goodsId":18,"vehicleLeader":"普通货车| 4.6米 | 煤炭及制品","weight":100,"createTime":"2020-01-17 09:25:56","companyName":"王*丽","isAuto":false,"isOnline":"00:00:01","total":8,"loading":"辽宁 鞍山","unloading":"辽宁 本溪"}]
         * pageNum : 1
         * pageSize : 10
         * pages : 1
         * size : 3
         */

        private int total;
        private int              pageNum;
        private int              pageSize;
        private int              pages;
        private int              size;
        private List<ResultBean> result;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public List<ResultBean> getResult() {
            return result;
        }

        public void setResult(List<ResultBean> result) {
            this.result = result;
        }

        public static class ResultBean {
            /**
             * code : 0
             * msg : SUCCESS
             * sign : null
             * timestamp : 0
             * data : null
             * id : 5
             * driverId : 2
             * goodsId : 16
             * vehicleLeader : 普通货车| 4.6米 | 煤炭及制品
             * weight : 100
             * createTime : 2020-01-17 09:20:42
             * companyName : 王*丽
             * isAuto : false
             * isOnline : 00:00:01
             * total : 8
             * loading : 辽宁 鞍山
             * unloading : 辽宁 本溪
             */

            private String code;
            private String  msg;
            private Object  sign;
            private int     timestamp;
            private Object  data;
            private int     id;
            private int     driverId;
            private int     goodsId;
            private String  vehicleLeader;
            private String     weight;
            private String  createTime;
            private String  companyName;
            private boolean isAuto;
            private String  isOnline;
            private String     total;
            private String  loading;
            private String  unloading;

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public String getMsg() {
                return msg;
            }

            public void setMsg(String msg) {
                this.msg = msg;
            }

            public Object getSign() {
                return sign;
            }

            public void setSign(Object sign) {
                this.sign = sign;
            }

            public int getTimestamp() {
                return timestamp;
            }

            public void setTimestamp(int timestamp) {
                this.timestamp = timestamp;
            }

            public Object getData() {
                return data;
            }

            public void setData(Object data) {
                this.data = data;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getDriverId() {
                return driverId;
            }

            public void setDriverId(int driverId) {
                this.driverId = driverId;
            }

            public int getGoodsId() {
                return goodsId;
            }

            public void setGoodsId(int goodsId) {
                this.goodsId = goodsId;
            }

            public String getVehicleLeader() {
                return vehicleLeader;
            }

            public void setVehicleLeader(String vehicleLeader) {
                this.vehicleLeader = vehicleLeader;
            }

            public String getWeight() {
                return weight;
            }

            public void setWeight(String weight) {
                this.weight = weight;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getCompanyName() {
                return companyName;
            }

            public void setCompanyName(String companyName) {
                this.companyName = companyName;
            }

            public boolean isIsAuto() {
                return isAuto;
            }

            public void setIsAuto(boolean isAuto) {
                this.isAuto = isAuto;
            }

            public String getIsOnline() {
                return isOnline;
            }

            public void setIsOnline(String isOnline) {
                this.isOnline = isOnline;
            }

            public String getTotal() {
                return total;
            }

            public void setTotal(String total) {
                this.total = total;
            }

            public String getLoading() {
                return loading;
            }

            public void setLoading(String loading) {
                this.loading = loading;
            }

            public String getUnloading() {
                return unloading;
            }

            public void setUnloading(String unloading) {
                this.unloading = unloading;
            }
        }
    }
}
